import Vue from 'vue';
import Plugin from './index';
import TestPlugin from './example';
import { PanelInstanceController } from './example/panel-instance-controller';

Vue.config.productionTip = false;

Vue.use(Plugin);
Vue.use(TestPlugin);

import Sortable, { Swap } from 'sortablejs';

new Vue({
  created() {
    Sortable.mount(new Swap());
  },
  render: h => h('panel-design-container', { props: { panel: new PanelInstanceController() } }),
}).$mount('#app');
